﻿using System.ServiceModel;

namespace Citi.EmailSender.WCF
{
    [ServiceContract]
    public interface IEmail
    {
        [OperationContract]
        string InsertEmailInQueue(DataContract.Email emailData);

        [OperationContract]
        string GetTemplateById(int id);

        [OperationContract]
        string GetTemplateByApplicationUniqueKey(string application, string applicationUniqueKey);

        [OperationContract]
        string DownloadAttachment(DataContract.DownloadAttachment downloadAttachment);
    }
}
